package com.oneby.h2.mapper;

import com.oneby.h2.pojo.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author bohao.wang
 * @Date 2021/4/8 10:21
 */
@Mapper
public interface UserMapper {

    public List<User> findAll();

    public User findById(int id);

    public int insert(User user);

    public int deleteById(int id);

    public int update(User user);

}
